<?
mysql_connect("localhost","root","1234");
mysql_select_db("book_db");
mysql_query("SET NAMES TIS620");
$strSQL = "UPDATE rental SET ";
$strSQL .="status = '".$_POST["status"]."' ";
$strSQL .="WHERE id = '".$_GET["id"]."' ";

$objQuery = mysql_query($strSQL);

?>